package org.jeecg.modules.demo.storestaffreward.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.storestaffreward.entity.StoreStaffReward;
import org.jeecg.modules.demo.storestaffreward.mapper.StoreStaffRewardMapper;
import org.jeecg.modules.demo.storestaffreward.service.IStoreStaffRewardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 会员-贵宾卡
 * @Author: jeecg-boot
 * @Date: 2022-02-11
 * @Version: V1.0
 */
@Service
@Slf4j
public class StoreStaffRewardServiceImpl extends ServiceImpl<StoreStaffRewardMapper, StoreStaffReward> implements IStoreStaffRewardService {
    @Autowired
    private StoreStaffRewardMapper storeStaffRewardMapper;

    @Override
    public List<String> listNewCommodityId(String storeId) {
        return storeStaffRewardMapper.listNewCommodityId(storeId);
    }

    @Override
    public List<String> listNewTimeCardId(String storeId) {
        return storeStaffRewardMapper.listNewTimeCardId(storeId);
    }

    @Override
    public List<String> listNewProjectId(String storeId) {
        return storeStaffRewardMapper.listNewProjectId(storeId);
    }

    @Override
    public List<String> listTradeActor(@Param("storeId") String storeId) {
        return storeStaffRewardMapper.listTradeActor(storeId);
    }
}
